export default {
    tooltip: { //坐标提示工具
        trigger: 'item'
    },
    legend: { //图例控制
        top: '5%',
        left: 'center'
    },
    series: [ //系列
        {
            name: '任务概况',
            type: 'pie',
            radius: ['40%', '70%'],
            avoidLabelOverlap: true, //防止label提示重叠
            itemStyle: {
                borderRadius: 10,
                borderColor: '#fff',
                borderWidth: 2
            },
            label: { //问题提示展示在环形图中间
                show: false,
                position: 'center',
                formatter:"{c}"
            },
            emphasis: {
                label: {
                    show: true,
                    fontSize: '40',
                    fontWeight: 'bold'
                }
            },
            labelLine: {
                show: true
            },
            data: [
                { value: 1048, name: 'Search Engine' },
                { value: 735, name: 'Direct' },
                { value: 580, name: 'Email' },
                { value: 484, name: 'Union Ads' },
                { value: 300, name: 'Video Ads' }
            ]
        }
    ]
};